Optimal. Leaf size=102 \[ -\frac{\sqrt{2 x+3} (35 x+29)}{2 \left (3 x^2+5 x+2\right )^2}+\frac{3 \sqrt{2 x+3} (1063 x+878)}{10 \left (3 x^2+5 x+2\right )}+730 \tanh ^{-1}\left (\sqrt{2 x+3}\right )-\frac{4713}{5} \sqrt{\frac{3}{5}} \tanh ^{-1}\left (\sqrt{\frac{3}{5}} \sqrt{2 x+3}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0623808, antiderivative size = 102, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 5, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.185, Rules used = {820, 822, 826, 1166, 207} \[ -\frac{\sqrt{2 x+3} (35 x+29)}{2 \left (3 x^2+5 x+2\right )^2}+\frac{3 \sqrt{2 x+3} (1063 x+878)}{10 \left (3 x^2+5 x+2\right )}+730 \tanh ^{-1}\left (\sqrt{2 x+3}\right )-\frac{4713}{5} \sqrt{\frac{3}{5}} \tanh ^{-1}\left (\sqrt{\frac{3}{5}} \sqrt{2 x+3}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 820
Rule 822
Rule 826
Rule 1166
Rule 207
Rubi steps
\begin{align*} \int \frac{(5-x) \sqrt{3+2 x}}{\left (2+5 x+3 x^2\right )^3} \, dx &=-\frac{\sqrt{3+2 x} (29+35 x)}{2 \left (2+5 x+3 x^2\right )^2}-\frac{1}{2} \int \frac{286+175 x}{\sqrt{3+2 x} \left (2+5 x+3 x^2\right )^2} \, dx\\ &=-\frac{\sqrt{3+2 x} (29+35 x)}{2 \left (2+5 x+3 x^2\right )^2}+\frac{3 \sqrt{3+2 x} (878+1063 x)}{10 \left (2+5 x+3 x^2\right )}+\frac{1}{10} \int \frac{6839+3189 x}{\sqrt{3+2 x} \left (2+5 x+3 x^2\right )} \, dx\\ &=-\frac{\sqrt{3+2 x} (29+35 x)}{2 \left (2+5 x+3 x^2\right )^2}+\frac{3 \sqrt{3+2 x} (878+1063 x)}{10 \left (2+5 x+3 x^2\right )}+\frac{1}{5} \operatorname{Subst}\left (\int \frac{4111+3189 x^2}{5-8 x^2+3 x^4} \, dx,x,\sqrt{3+2 x}\right )\\ &=-\frac{\sqrt{3+2 x} (29+35 x)}{2 \left (2+5 x+3 x^2\right )^2}+\frac{3 \sqrt{3+2 x} (878+1063 x)}{10 \left (2+5 x+3 x^2\right )}-2190 \operatorname{Subst}\left (\int \frac{1}{-3+3 x^2} \, dx,x,\sqrt{3+2 x}\right )+\frac{14139}{5} \operatorname{Subst}\left (\int \frac{1}{-5+3 x^2} \, dx,x,\sqrt{3+2 x}\right )\\ &=-\frac{\sqrt{3+2 x} (29+35 x)}{2 \left (2+5 x+3 x^2\right )^2}+\frac{3 \sqrt{3+2 x} (878+1063 x)}{10 \left (2+5 x+3 x^2\right )}+730 \tanh ^{-1}\left (\sqrt{3+2 x}\right )-\frac{4713}{5} \sqrt{\frac{3}{5}} \tanh ^{-1}\left (\sqrt{\frac{3}{5}} \sqrt{3+2 x}\right )\\ \end{align*}
Mathematica [A] time = 0.162053, size = 81, normalized size = 0.79 \[ \frac{1}{50} \left (\frac{5 \sqrt{2 x+3} \left (9567 x^3+23847 x^2+19373 x+5123\right )}{\left (3 x^2+5 x+2\right )^2}-9426 \sqrt{15} \tanh ^{-1}\left (\sqrt{\frac{3}{5}} \sqrt{2 x+3}\right )\right )+730 \tanh ^{-1}\left (\sqrt{2 x+3}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.019, size = 124, normalized size = 1.2 \begin{align*} 162\,{\frac{1}{ \left ( 6\,x+4 \right ) ^{2}} \left ({\frac{503\, \left ( 3+2\,x \right ) ^{3/2}}{90}}-{\frac{179\,\sqrt{3+2\,x}}{18}} \right ) }-{\frac{4713\,\sqrt{15}}{25}{\it Artanh} \left ({\frac{\sqrt{15}}{5}\sqrt{3+2\,x}} \right ) }-3\, \left ( 1+\sqrt{3+2\,x} \right ) ^{-2}+56\, \left ( 1+\sqrt{3+2\,x} \right ) ^{-1}+365\,\ln \left ( 1+\sqrt{3+2\,x} \right ) +3\, \left ( -1+\sqrt{3+2\,x} \right ) ^{-2}+56\, \left ( -1+\sqrt{3+2\,x} \right ) ^{-1}-365\,\ln \left ( -1+\sqrt{3+2\,x} \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.43789, size = 181, normalized size = 1.77 \begin{align*} \frac{4713}{50} \, \sqrt{15} \log \left (-\frac{\sqrt{15} - 3 \, \sqrt{2 \, x + 3}}{\sqrt{15} + 3 \, \sqrt{2 \, x + 3}}\right ) + \frac{9567 \,{\left (2 \, x + 3\right )}^{\frac{7}{2}} - 38409 \,{\left (2 \, x + 3\right )}^{\frac{5}{2}} + 49637 \,{\left (2 \, x + 3\right )}^{\frac{3}{2}} - 20555 \, \sqrt{2 \, x + 3}}{5 \,{\left (9 \,{\left (2 \, x + 3\right )}^{4} - 48 \,{\left (2 \, x + 3\right )}^{3} + 94 \,{\left (2 \, x + 3\right )}^{2} - 160 \, x - 215\right )}} + 365 \, \log \left (\sqrt{2 \, x + 3} + 1\right ) - 365 \, \log \left (\sqrt{2 \, x + 3} - 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.85116, size = 479, normalized size = 4.7 \begin{align*} \frac{4713 \, \sqrt{5} \sqrt{3}{\left (9 \, x^{4} + 30 \, x^{3} + 37 \, x^{2} + 20 \, x + 4\right )} \log \left (-\frac{\sqrt{5} \sqrt{3} \sqrt{2 \, x + 3} - 3 \, x - 7}{3 \, x + 2}\right ) + 18250 \,{\left (9 \, x^{4} + 30 \, x^{3} + 37 \, x^{2} + 20 \, x + 4\right )} \log \left (\sqrt{2 \, x + 3} + 1\right ) - 18250 \,{\left (9 \, x^{4} + 30 \, x^{3} + 37 \, x^{2} + 20 \, x + 4\right )} \log \left (\sqrt{2 \, x + 3} - 1\right ) + 5 \,{\left (9567 \, x^{3} + 23847 \, x^{2} + 19373 \, x + 5123\right )} \sqrt{2 \, x + 3}}{50 \,{\left (9 \, x^{4} + 30 \, x^{3} + 37 \, x^{2} + 20 \, x + 4\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 159.335, size = 388, normalized size = 3.8 \begin{align*} - 2712 \left (\begin{cases} \frac{\sqrt{15} \left (- \frac{\log{\left (\frac{\sqrt{15} \sqrt{2 x + 3}}{5} - 1 \right )}}{4} + \frac{\log{\left (\frac{\sqrt{15} \sqrt{2 x + 3}}{5} + 1 \right )}}{4} - \frac{1}{4 \left (\frac{\sqrt{15} \sqrt{2 x + 3}}{5} + 1\right )} - \frac{1}{4 \left (\frac{\sqrt{15} \sqrt{2 x + 3}}{5} - 1\right )}\right )}{75} & \text{for}\: x \geq - \frac{3}{2} \wedge x < - \frac{2}{3} \end{cases}\right ) + 2040 \left (\begin{cases} \frac{\sqrt{15} \left (\frac{3 \log{\left (\frac{\sqrt{15} \sqrt{2 x + 3}}{5} - 1 \right )}}{16} - \frac{3 \log{\left (\frac{\sqrt{15} \sqrt{2 x + 3}}{5} + 1 \right )}}{16} + \frac{3}{16 \left (\frac{\sqrt{15} \sqrt{2 x + 3}}{5} + 1\right )} + \frac{1}{16 \left (\frac{\sqrt{15} \sqrt{2 x + 3}}{5} + 1\right )^{2}} + \frac{3}{16 \left (\frac{\sqrt{15} \sqrt{2 x + 3}}{5} - 1\right )} - \frac{1}{16 \left (\frac{\sqrt{15} \sqrt{2 x + 3}}{5} - 1\right )^{2}}\right )}{375} & \text{for}\: x \geq - \frac{3}{2} \wedge x < - \frac{2}{3} \end{cases}\right ) + 2526 \left (\begin{cases} - \frac{\sqrt{15} \operatorname{acoth}{\left (\frac{\sqrt{15} \sqrt{2 x + 3}}{5} \right )}}{15} & \text{for}\: 2 x + 3 > \frac{5}{3} \\- \frac{\sqrt{15} \operatorname{atanh}{\left (\frac{\sqrt{15} \sqrt{2 x + 3}}{5} \right )}}{15} & \text{for}\: 2 x + 3 < \frac{5}{3} \end{cases}\right ) - 365 \log{\left (\sqrt{2 x + 3} - 1 \right )} + 365 \log{\left (\sqrt{2 x + 3} + 1 \right )} + \frac{56}{\sqrt{2 x + 3} + 1} - \frac{3}{\left (\sqrt{2 x + 3} + 1\right )^{2}} + \frac{56}{\sqrt{2 x + 3} - 1} + \frac{3}{\left (\sqrt{2 x + 3} - 1\right )^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.0936, size = 162, normalized size = 1.59 \begin{align*} \frac{4713}{50} \, \sqrt{15} \log \left (\frac{{\left | -2 \, \sqrt{15} + 6 \, \sqrt{2 \, x + 3} \right |}}{2 \,{\left (\sqrt{15} + 3 \, \sqrt{2 \, x + 3}\right )}}\right ) + \frac{9567 \,{\left (2 \, x + 3\right )}^{\frac{7}{2}} - 38409 \,{\left (2 \, x + 3\right )}^{\frac{5}{2}} + 49637 \,{\left (2 \, x + 3\right )}^{\frac{3}{2}} - 20555 \, \sqrt{2 \, x + 3}}{5 \,{\left (3 \,{\left (2 \, x + 3\right )}^{2} - 16 \, x - 19\right )}^{2}} + 365 \, \log \left (\sqrt{2 \, x + 3} + 1\right ) - 365 \, \log \left ({\left | \sqrt{2 \, x + 3} - 1 \right |}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]